import { axios } from '@/utils/request'

/**
 * 营销活动
 */

export function selectPage (parameter) {
  return axios({
    url: '/shop/activity/selectPage',
    method: 'post',
    params: parameter
  })
}
export function del (parameter) {
  return axios({
    url: '/shop/activity/' + parameter + '/delete',
    method: 'get'
  })
}
export function updateActivity (parameter) {
  return axios({
    url: '/shop/activity/updateActivity',
    method: 'post',
    data: parameter
  })
}


